import { useContext } from 'react';
import { AuthContext } from '../context/auth';

export function useIsSingin() {
    const { isAuth } = useContext(AuthContext);

    return isAuth;
}


export function useIsSignout() {
    const { isAuth } = useContext(AuthContext);

    return !isAuth;
}